Working with Logging Framework |
|
The logging framework is a key feature of Process Platform that records certain critical activities during runtime. It is based on Log4j and is used for debugging by developers and support personnel.
The information gathered from the log files is used to analyze the error state and fix support calls. Process Platform supports different kinds of log consumers such as file, event service, and so on, including those from Log4j. This framework provides a web-based log viewer for viewing the messages. Apache's Chainsaw is an open source GUI-based tool that can also be used for viewing the log messages. Composite Application Logging (CAL) is an extension of Logging Framework which facilitates application level logging.
Logging framework helps the support personnel or developers or administrators to analyze the error states. Refer to Logging Framework Process for information on the overall working of logging framework.
Developer's Best Practices provides some basic guidelines on using logging framework.
Examples of Log Messages
Examples of log statements are:
- License key has been validated.
- Request has been received.
- Response has been sent.
- An exception occurred .
This section contains the following topics:
- Using the Logging Framework - This topic explains how to instrument the logging framework.
- Generating Log Messages - This topic provides information on how to create and use the localized log messages.